package com.briup.jdbc.conn;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * 数据库连接类接口
 * 
 * @author 8852LDS
 * @date 2019年9月21日
 */
public interface IConnection {
	UpConnection getConn() throws SQLException, InterruptedException;

	void close(UpConnection conn) throws InterruptedException, SQLException;

	void commit(UpConnection conn) throws SQLException;

	void rollback(UpConnection conn) throws SQLException;
}
